<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>01_全局function模式</title>
</head>
<body>
<script type="text/javascript" src="module1.js"></script>
<!--<script type="text/javascript" src="module2.js"></script>-->
<script type="text/javascript">
    foo();
    bar();
    msg = "NBA";
    foo();
</script>
</body>
</html>